package com.ql.service.doctor;


import com.ql.pojo.yk.Doctor;
import com.ql.utils.PageHelper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorService {
    /*
        查询所有医生信息
    * */
    List<Doctor> getAllDoctor(PageHelper ph,String qryName,int qryRoleId);
    //通过id获取用户信息
    Doctor getDoctorById(String doctorId);

    Doctor selectById(Integer id);

    void xiugaiDoctor(Doctor doctor);

    //新增医生
    boolean addNewDoctor(Doctor doctor);
    //修改医生信息
    boolean updateDoctor(Doctor doctor);

    //    根据科室id获取科室医师列表
    List<Doctor> qryByKid(int kId);
}
